// 封装要发起的请求
import request from '@/utils/request'  //把网络请求工具拿过来
// 热门搜索
export const hotSearch = () => request({
    url: '/search/hot'
})
//搜索结果列表
export const searchResult = params => request({
    url: '/cloudsearch',
    params
})